package com.lovo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * ??̨??????Ʒ?
 * </p>
 *
 * @author lovo
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysGoods extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goodsId", type = IdType.AUTO)
    private Integer goodsid;

    private String pCode;

    @TableField("stockNum")
    private Integer stocknum;

    @TableField("sellPrice")
    private Integer sellprice;

    private String pBatch;


    private String pType;

    @TableField("goodsName")
    private String goodsname;


    private String pStatus = "未上架";

    @TableField("minNum")
    private Integer minnum;


}
